package com.chenwc.wso2.wso2mi;

/**
 * API资源前缀的常量
 * @author chenwc
 * @date 2023/11/2 0:20
 */
public class Constants {

    //Constants for the API resource prefixes
    public static final String REST_API_CONTEXT = "/management";
    public static final String PREFIX_APIS = "/apis";
    public static final String PREFIX_CARBON_APPS = "/applications";
    public static final String PATH_PARAM_CARBON_APP_NAME = "/" + "{name}";
    public static final String PREFIX_ENDPOINTS = "/endpoints";
    public static final String PREFIX_INBOUND_ENDPOINTS = "/inbound-endpoints";
    public static final String PREFIX_PROXY_SERVICES = "/proxy-services";
    public static final String PREFIX_REGISTRY_RESOURCES = "/registry-resources";
    public static final String PREFIX_REGISTRY_CONTENT = "/registry-resources/content";
    public static final String PREFIX_REGISTRY_METADATA = "/registry-resources/metadata";
    public static final String PREFIX_REGISTRY_PROPERTIES = "/registry-resources/properties";
    public static final String PREFIX_TASKS = "/tasks";
    public static final String PREFIX_SEQUENCES = "/sequences";
    public static final String PREFIX_LOGGING = "/logging";
    public static final String PREFIX_USERS = "/users";
    public static final String PATH_PARAM_USER = "/" + "{userId}";
    public static final String PREFIX_DATA_SERVICES = "/data-services";
    public static final String PREFIX_TEMPLATES = "/templates";
    public static final String PREFIX_MESSAGE_STORE = "/message-stores";
    public static final String PREFIX_MESSAGE_PROCESSORS = "/message-processors";
    public static final String PREFIX_EXTERNAL_VAULTS = "/external-vaults";
    public static final String PATH_PARAM_EXTERNAL_VAULT_NAME = "/" + "{vault}";
    public static final String PREFIX_LOCAL_ENTRIES = "/local-entries";
    public static final String PREFIX_CONNECTORS = "/connectors";
    public static final String PREFIX_LOGIN = "/login";
    public static final String PREFIX_LOGOUT = "/logout";
    public static final String PREFIX_SERVER_DATA = "/server";
    public static final String PREFIX_LOG_FILES = "/logs";
    public static final String PREFIX_TRANSACTION = "/transactions";
    public static final String PREFIX_DATA_SOURCES = "/data-sources";
    public static final String PREFIX_ROLES = "/roles";
    public static final String PATH_PARAM_ROLE = "/" + "{role}";
    public static final String PATH_PARAM_TRANSACTION = "/" + "{param}";
    public static final String ROOT_CONTEXT = "/";
    public static final String PREFIX_CONFIGS = "/configs";
}
